package com.elm.po;

public class Food {
	private Integer id;
	private String createTime;
	private int creator;
	private int isDeleted;
	private String updateTime;
	private int updater;
	private String foodExplain;
	private String foodName;
	private String foodImg;
	private Double foodPrice;
	private Integer businessId;
	private String remarks;
	private String status;
	
	private Business business;

	// 修正setter方法的参数类型和赋值
	public void setBusiness(Business business) {
		this.business = business; // 正确赋值
	}

	// 同时修正getter方法的命名（遵循驼峰命名规范） 
	public Business getBusiness() {
		return business;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public int getCreator() {
		return creator;
	}

	public void setCreator(int creator) {
		this.creator = creator;
	}

	public int getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(int isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public int getUpdater() {
		return updater;
	}

	public void setUpdater(int updater) {
		this.updater = updater;
	}

	public String getFoodExplain() {
		return foodExplain;
	}

	public void setFoodExplain(String foodExplain) {
		this.foodExplain = foodExplain;
	}

	public String getFoodName() {
		return foodName;
	}

	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}

	public String getFoodImg() {
		return foodImg;
	}

	public void setFoodImg(String foodImg) {
		this.foodImg = foodImg;
	}

	public Double getFoodPrice() {
		return foodPrice;
	}

	public void setFoodPrice(Double foodPrice) {
		this.foodPrice = foodPrice;
	}

	public Integer getBusinessId() {
		return businessId;
	}

	public void setBusinessId(Integer businessId) {
		this.businessId = businessId;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	
	
	
}
